<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/detail/default.css" />
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/detail/component.css" />
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css"/>
		<script src="{$_C.hy_path}js/detail/modernizr.custom.js"></script>
		
	</head>
	<body>
		<div class="am-g">
			 {include file='../Common/hy_header.html'}
			 {if $status eq 2}	
      <div class="am-u-md-6 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
             <div class="am-btn-group am-btn-group-xs">
            
            <button data-title="预下单红包" data-id="add_hongbao" data-href="index.php?g=admin&m=chat&a=add_hongbao&id={$id}" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-plus"></span> 预下单红包</button>
		   
		    </div>
            

           
          </div>
        </div>
      </div>
	  {/if}
      <div class="am-u-md-3 am-cf">
        <div class="am-fr">
        </div>
      </div>
      
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
                <th class="table-title">序号</th>
                <th class="table-type">活动名称</th>
                <th class="table-date">红包类型</th>
                <th class="table-type">总金额</th>
                <th class="table-date">发放人数</th>
              </tr>
          </thead>
          <tbody>
          	{foreach from=$hongbao_list item=ad}
            <tr>
              <td>{$ad.id}</td>
              <td>{$ad.act_name}</td>
              <td>{$ad.hb_typeShow}</td>
              <td>{$ad.total_amount}</td>
              <td>{$ad.total_num}</td>
            </tr>
             {/foreach} 
          </tbody>
        </table>
          <div class="am-cf">

  <div class="am-fr">
  	<div class="hy_page">
  {$hongbao_list_page}
  </div>
  </div>
</div>
          <hr />
      
        </div>
      </div>

    </div>
    </div>
   {include file='../Common/hy_footer.html'}
  
		
	</body>
</html>
